package com.ruoyi.zcxt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 资产用途（树）对象 zc_kj_subjects
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class ZcKjSubjects extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 科目id */
    private Long sId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String sName;

    /** 删除标志 (0代表存在 2代表删除) */
    private String delFlag;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 会计科目状态（0正常 1停用） */
    @Excel(name = "会计科目状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setsName(String sName) 
    {
        this.sName = sName;
    }

    public String getsName() 
    {
        return sName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("sName", getsName())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("code", getCode())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .toString();
    }
}
